package com.hfuuTaf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 报名表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("registration")
public class register {
    @TableId(type = IdType.AUTO) //自增id必须增添
    private Integer id;

    private String name;
    @TableField("studentId")
    private String studentId;
    private String phone;
    private Integer sex;
    private String major;
    private String department;
    private String introduce;
    private Date date;

    private Integer confirm; //是否被确认了
}
